Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

replace fs sync with async yield #167

Merged
merged 2 commits into from
Apr 19, 2017
Merged

replace fs sync with async yield #167

merged 2 commits into from
Apr 19, 2017

Conversation

JamesKyburz
Copy link
Contributor

I noticed some sync method calls to fs/fs-promise which unless I am missing something block the event loop for each http request.

This PR replaces them with async yield.

@leo leo merged commit f12e888 into vercel:master Apr 19, 2017
@leo
Copy link
Contributor

leo commented Apr 19, 2017

Sweet, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants